package com.woniuxy.third.result;

import com.woniuxy.third.enums.ResponseEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponseResult<T> {
    private int code;
    private ResponseEnum status;
    private String message;
    private T data;

    public ResponseResult(int code, String meassage, T data) {
        this.code = code;
        this.message = meassage;
        this.data = data;
    }
}
